package com.mapper;
import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.entity.UserInfo;

public interface UserMapper {
    public UserInfo userLogin(UserInfo user);
    public boolean userRegister(UserInfo user);
    public UserInfo selectOneUser(String name);
    public List<UserInfo> selectAllUser(@Param("name") String name);
    public Integer updateUser(UserInfo user);
    public UserInfo selectOneUserByID(Integer id);
    public Integer deleteUserByid(Integer id);
}
